package com.zshy.base.web.api;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 健康检查
 *
 * @author zhouhengzhe
 */
@Slf4j
@RequestMapping("/")
@RestController
public class HealthController {

    @RequestMapping("/health")
    public String healthCheck() {
        log.info("health check");
        return "ok";
    }
}
